﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using WeatherSystem.Net;

namespace WeatherSystem.Application.MsgHandler
{
    /// <summary>
    /// 接收消息主体
    /// </summary>
    class Message
    {
        public string FromUserName { get; set; }
        public string ToUserName { get; set; }
        
    }

    class TextMessage : Message
    {
        public string Content { get; set; }
    }

    class EventMessage : Message
    {
        public string Event { get; set; }
        public string EventKey { get; set; }
    }

    class QrCodeEventMessage : EventMessage
    {
        public string Type { get; set; }
        public string Result { get; set; }
    }
}
